package Zuoye0728;

public class Display {
    private String resolution;
    private String color;


    public void show(){
        System.out.println("显示器是一个"+color+"分辨率为"+resolution);
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

}
